/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wudt;

import java.io.Serializable;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.RequestScoped;

/**
 *
 * @author jzajaczek
 */
@ManagedBean
@RequestScoped
public class RoundSoftGasket extends Gasket implements Serializable {

    /**
     * Creates a new instance of RoundSoftGasket
     */
    public RoundSoftGasket() {
    }
    
    private double u;
    private double ucz;
    private double du;

    @Override
    public double getU() {
        return 2 * u;
    }

    @Override
    public double getUcz() {
        return 2 * u;
    }
    
    @Override
    public double getDu() {
        return 0.5 * (dz - dw);
    }
    
}
